package com.hs.sfzy.mapper;

import com.hs.sfzy.entity.Level;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface  LevelMapper {
    //    增加
    int addLevel(Level level);
    Level getLevel(int id);

    //获取所有等级
    List<Level> getAllLevel();
}
